import service from "./axios";
//热门城市
export function getcityName() {
  return service({
    url: "/aj/getcitycode",
    method: "GET",
  });
}
//热门区县
export function getcounty(params) {
  return service({
    url: '/aj/get_area/',
    method: "GET",
    params
  });
}


export function getShopping(params){
  return service({
    url: '/at/shop/',
    method: "GET",
    params
  });
}

export function geocoding(params){
  return service({
    url: 'https://restapi.amap.com/v3/geocode/geo',
    method: "GET",
    params
  });
}
